package com.yyxh.laiojbackend.model.dto.questionsubmit;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 创建请求
 *
 
 */
@ApiModel(value = "题目提交表单")
@Data
public class QuestionSubmitAddRequest implements Serializable {

    /**
     * 编程语言
     */
    @ApiModelProperty(value = "编程语言",dataType = "String",required = true,example = "Java")
    private String language;

    /**
     * 用户代码
     */
    @ApiModelProperty(value = "用户代码",dataType = "String",required = true,example = "代码")
    private String code;

    /**
     * 题目id
     */
    @ApiModelProperty(value = "题目id",dataType = "Long",required = true,example = "1")
    private Long questionId;

    private static final long serialVersionUID = 1L;
}